import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import FastClick from 'fastclick'
import myPlugin from './plugin/index'
import Vant from 'vant';
import 'lib-flexible'

import {
	Lazyload
} from 'vant';

import 'vant/lib/index.css';

FastClick.attach(document.body)
Vue.use(Vant).use(myPlugin);
Vue.use(Lazyload, {
	loading: require("./assets/images/detail/loading.gif"),
	error: require("./assets/images/detail/fail.jpeg")
})
Vue.prototype.$bus = new Vue()
Vue.config.productionTip = false

new Vue({
	render: h => h(App),
	router,
	store,
}).$mount('#app')
